org.eclipse.vtp.framework.common.configurations
Class AssignmentConfiguration

java.lang.Object
  extended by org.eclipse.vtp.framework.common.configurations.AssignmentConfiguration
All Implemented Interfaces:
CommonConstants, IConfiguration

public class AssignmentConfiguration
extends java.lang.Object
implements IConfiguration, CommonConstants

A configuration for a variable assignment.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from interface org.eclipse.vtp.framework.common.configurations.CommonConstants
MAPPING_TYPE_EXPRESSION, MAPPING_TYPE_NONE, MAPPING_TYPE_STATIC, MAPPING_TYPE_VARIABLE, NAME_ASSIGNMENT, NAME_BRANCH, NAME_BRAND, NAME_DATA_TYPE, NAME_DISPATCH, NAME_ENTRY, NAME_EXIT, NAME_FIELD, NAME_INITIAL_VALUE, NAME_KEY, NAME_LEFT_OPERAND, NAME_NAME, NAME_OUTGOING, NAME_PATH, NAME_PRIMARY_FIELD, NAME_RIGHT_OPERAND, NAME_SCRIPT, NAME_SCRIPTING_LANGUGAGE, NAME_TYPE, NAME_URI, NAME_VALUE, NAME_VARIABLE_MAPPING, NAMESPACE_URI
 
Constructor Summary
AssignmentConfiguration()
          Creates a new AssignmentConfiguration.
 
Method Summary
 java.lang.String getName()
          Returns the name of the variable to assign to.
 java.lang.String getType()
          Returns the type of the variable to assign to.
 java.lang.String getValue()
          Returns the value to assign to the variable.
 void load(org.w3c.dom.Element configurationElement)
          Loads the configuration information from the specified XML element.
 void save(org.w3c.dom.Element configurationElement)
          Saves the configuration information into the supplied XML element.
 void setName(java.lang.String name)
          Sets the name of the variable to assign to.
 void setType(java.lang.String type)
          Sets the type of the variable to assign to.
 void setValue(java.lang.String value)
          Sets the value to assign to the variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignmentConfiguration

public AssignmentConfiguration()
Creates a new AssignmentConfiguration.

Method Detail

getName

public java.lang.String getName()
Returns the name of the variable to assign to.

Returns:
The name of the variable to assign to.

setName

public void setName(java.lang.String name)
Sets the name of the variable to assign to.

Parameters:
name - The name of the variable to assign to.

getType

public java.lang.String getType()
Returns the type of the variable to assign to.

Returns:
The type of the variable to assign to.

setType

public void setType(java.lang.String type)
Sets the type of the variable to assign to.

Parameters:
type - The type of the variable to assign to.

getValue

public java.lang.String getValue()
Returns the value to assign to the variable.

Returns:
The value to assign to the variable.

setValue

public void setValue(java.lang.String value)
Sets the value to assign to the variable.

Parameters:
value - The value to assign to the variable.

load

public void load(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Loads the configuration information from the specified XML element.

Specified by:
load in interface IConfiguration
Parameters:
configurationElement - The element to load the configuration from.

save

public void save(org.w3c.dom.Element configurationElement)
Description copied from interface: IConfiguration
Saves the configuration information into the supplied XML element.

Specified by:
save in interface IConfiguration
Parameters:
configurationElement - The element to save the configuration to.